﻿#include "TestQuery.h"
int main()
{
    TestQuery tq;
    time_t beg = time(NULL);
    tq.ReadFile("C:\\Users\\Administrator\\Desktop\\kjv.txt");
    time_t end = time(NULL);
    cout << "time:" << end - beg << " s" << endl;
    string str;
    cout << "请输入带查询的单词:" << endl;
    while (1)
    {
        cin >> str;
        tq.Query(str);
        cout << "请输入带查询的单词:" << endl;
       
    }
   

   

}

